package com.cloudkinto.dao;

import com.cloudkinto.entity.OrderOutputProductDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloudkinto.extentity.order.OrderOutProductAddNewReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author 张永远
 * @since 2020-06-04
 */
public interface OrderOutputProductDao extends BaseMapper<OrderOutputProductDo> {

    int selectCountByOrderId(@Param("orderId")Long orderId);

    void insertBatch(List<OrderOutProductAddNewReq> productAddReqList);
}
